package com.hzqy.web.ac.produceInfoJs;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hzqy.service.produceInfoJs.EducationCacheServiceBean;
import com.hzqy.web.vo.CmContentVo;

@Controller
@RequestMapping("/")
public class EducationCacheAction {
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	@Resource
    private EducationCacheServiceBean educationCacheServiceBean;
	
	@RequestMapping("/monitor/education/produceInfoJs/createjs")
    @ResponseBody
    public Object executeWrite(HttpServletRequest request, HttpSession session,CmContentVo vo) {
        return educationCacheServiceBean.executeWrite(request,session,vo);
    }

    @RequestMapping("/monitor/education/produceInfoJs/createSpecialJs")
    @ResponseBody
    public Object createSpecialJs(HttpServletRequest request, HttpSession session,CmContentVo vo) {
        return educationCacheServiceBean.createSpecialJs(request,session,vo);
    }
}
